import Vue from 'vue'
import App from './App'
import store from './store'
import http from './common/api/index.js'
import loading from './components/xuan-loading/xuan-loading.vue'
import jyImage from './components/jy-image/jy-image.vue'
Vue.prototype.$http = http

Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.component('loading',loading)
Vue.component('jy-image',jyImage)
App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
app.$mount()
